<!doctype html>
<html xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>评分结果提交表</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../static/css/bootstrap.min.css" />
    <link rel="stylesheet" href="../static/css/bootstrap-theme.css" />
    <!--<link rel="stylesheet" href="statics/css/AdminLTE.min.css">-->

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- 基本的jquery引用，1.5版本以上 -->
    <script src="../static/js/jquery.min.js"></script>
    <script src="../static/js/vue.js"></script>
    <script src="../static/js/bootstrap.min.js"></script>
    <script src="../static/libs/ajaxupload.js"></script>
</head>

<body>
<div class="container-fluid"  id="rrapp" v-cloak>
    <div class="row-fluid">
        <div class="col-sm-12">
            <form class="form-horizontal">
                <div id="legend" class="">
                    <legend class="">参赛作品评分</legend>
                </div>
                <div class="control-group">
                    <label class="control-label">参赛作品</label>
                    <div class="controls">
                        <select v-model="score.programId">
                            <option value="0" selected="selected">请选择</option>
                            <option v-for="item in programs" v-bind:value="item.id">{{item.name}}</option>
                        </select>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">裁判编号</label>
                    <div class="controls">
                        <!--<input v-model="score.raterTable" type="text" placeholder="你在哪一桌？从1到14" class="input-xlarge">-->
                        <select v-model="score.raterId">
                            <option value="0" selected="selected">请选择</option>
                            <option v-for="item in [1,2,3,4,5,6,7,8,9,10,11,12,13,14]" v-bind:value="item">{{item}}</option>
                        </select>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">评分</label>
                    <div class="controls">
                        <!--<input v-model="score.taste" type="text" placeholder="满分10分" class="input-xlarge">-->
                        <select v-model="score.score">
                            <option value="0" selected="selected">请选择</option>
                            <option v-for="item in [1,2,3,4,5,6,7,8,9,10]" v-bind:value="item">{{item}}</option>
                        </select>分
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label"></label>
                    <div class="controls">
                        <button class="btn btn-success" v-on:click="commitScore" type="button">提交</button>
                        {{msg}}
                    </div>
                </div>
            </form>
        </div>
    </div>
</div><!-- container -->
<script src="../static/js/program_entry.js"></script>
</body>
</html>